#pragma once

#include <stdio.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/projdefs.h"
#include "freertos/task.h"
#include "freertos/semphr.h"

void esc_timer_init();
void esc_task_start();

void hid_control_start();

// 阻塞/恢复任务
void suspend_hid_control();
void resume_hid_control();

// 任务是否在运行
bool task_is_running();
